import utils
from Tkinter import *
class MyFrame(Frame):
    def __init__(self):
        self.ser_com = Radio_Serial()
        Frame.__init__(self)
        
        self.master.geometry("500x500")
        self.master.title("Arduino si4735 Shield Control")
        self.grid()

        self.button_change_freq = Button(self, text = "Change Station",
                                         command = self.change_station_click)
        self.button_change_freq.grid()
        self.freq_label = StringVar()
        self.change_station_click()
        self.freq_label.set("88.1FM")
        self.frequency = Label(self, textvariable = self.freq_label)
        self.frequency.grid()
        
    def change_station_click(self):
        if self.mode == "FM":
            
            self.freq_label.set("asdf")

if __name__ == "__main__":
##    utils.setup()
##    utils.change_station(station)
    frame01 = MyFrame()
    frame01.mainloop()

